<?php

namespace app\common\model;
use think\Model;

class User extends Model
{
    
    protected $autoWriteTimestamp = true;
    
    public function agency()
    {
        return $this->hasOne('Agency','id','agency_id');
    }
}